package feng.demo.entity;

import java.util.List;

public class Types {
    private Integer typeid;
    private String typename;
    private Breed breed;
    private String typesn;

    private Integer pic;
    private  Integer tnum;
    private List<Commodity> commoditiys;

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Breed getBreed() {
        return breed;
    }

    public void setBreed(Breed breed) {
        this.breed = breed;
    }

    public String getTypesn() {
        return typesn;
    }

    public void setTypesn(String typesn) {
        this.typesn = typesn;
    }

    public Integer getPic() {
        return pic;
    }

    public void setPic(Integer pic) {
        this.pic = pic;
    }

    public Integer getTnum() {
        return tnum;
    }

    public void setTnum(Integer tnum) {
        this.tnum = tnum;
    }

    public List<Commodity> getCommoditiys() {
        return commoditiys;
    }

    public void setCommoditiys(List<Commodity> commoditiys) {
        this.commoditiys = commoditiys;
    }

    @Override
    public String toString() {
        return "Types{" +
                "typeid=" + typeid +
                ", typename='" + typename + '\'' +
                ", breed=" + breed +
                ", typesn='" + typesn + '\'' +
                ", pic=" + pic +
                ", tnum=" + tnum +
                ", commoditiys=" + commoditiys +
                '}';
    }
}
